import {createApp} from 'vue'
import {createPinia} from 'pinia'
import App from './App.vue'

const app = createApp(App)
const pinia = createPinia()
// npm i pinia-plugin-persistedstate --save 安装

// main.ts配置使用
import ppp from 'pinia-plugin-persistedstate'

pinia.use(ppp)
app.use(pinia)

app.mount('#app')
